PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / MemoryStream Class
Methods


In This Topic
    MemoryStream Class Members
    In This Topic

    The following tables list the members exposed by MemoryStream.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Methods
     NameDescription
    Public MethodReturns this stream as a Java java.io.InputStream. (Inherited from com.o2sol.pdf4java.core.io.Stream)
    Public MethodReturns this stream as a Java java.io.OutputStream. (Inherited from com.o2sol.pdf4java.core.io.Stream)
    Public MethodCloses the stream.  
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.io.Stream)
    Public MethodClears all buffers for this stream and causes any buffered data to be written to the underlying device. (Inherited from com.o2sol.pdf4java.core.io.Stream)
    Public Method  
    Public MethodGets the length in bytes of the stream.  
    Public MethodGets the position within the current stream.  
    Public MethodReads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.  
    Public MethodReads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.  
    Public MethodSets the position within the current stream.  
    Public MethodSets the length of the current stream.  
    Public MethodSets the position within the current stream.  
    Public MethodConverts the stream to a byte array  
    Public MethodWrites a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.  
    Public MethodWrites a byte to the current position in the stream and advances the position within the stream by one byte.  
    Top
    See Also